
/*
 * @description: 装修模版组件配置中心
 * @Author: along
 * @Date: 2021-06-11
 * @Last Modified by: along
 * @Last Modified time: 2021-06-11
 * @desc: https://zsdx.yuque.com/ck6ubz/zflzgc/shtyhx
 */

export default [{
    title: '图文控件',
    type: '1',
    list: [{
        type: 1,//组件类型
        iconfont: 'el-icon-hand-dantu',//组件icon
        images: '',//组件图标 icon为空时生效
        title: '单列图片',//组件名称
        config: {
            type: 1,
            style: {},
            data: {
                image_url: '',
                action: {
                    type: 1,
                    app_action: {}
                }
            }
        }
    },{
        type: 2,
        iconfont: 'el-icon-hand-duotu',
        images: '',
        title: '多图拼凑',
        config: {
            type: 2,
            style: {},
            status: false,//标记数据状态,服务端会过滤
            data: {
                images: [{
                    image_url: '',
                    action: {
                        type: 1,
                        app_action: {}
                    }
                }]
            }
        }
    }]
},{
    title: '系统组件',
    type: '2',
    list: [
        {
            type: 7,
            iconfont: 'el-icon-hand-xinrenzhuanxiang',
            images: '',
            title: '新人专享',
            config: {
                type: 7,
                style: {},
                data: {}
            }
        }
        // ,{
        //     type: 102,
        //     iconfont: 'el-icon-hand-dantu',
        //     title: '秒杀专区',
        //     config: {
        //         type: 102,
        //         style: {},
        //         data: {}
        //     }
        // }
        ,{
            type: 8,
            iconfont: 'el-icon-hand-linqishangpin',
            images: '',
            title: '临期商品',
            config: {
                type: 8,
                style: {},
                data: {}
            }
        }
        ,{
            type: 9,
            iconfont: '',
            images: 'https://cdn.zsdx.cn/student-app/images/control_active2.png',
            title: '折扣专区',
            config: {
                type: 9,
                style: {},
                data: {}
            }
        }
        // ,{
        //     type: 105,
        //     iconfont: 'el-icon-hand-dantu',
        //     title: '0元购专区',
        //     config: {
        //         type: 105,
        //         style: {},
        //         data: {}
        //     }
        // }
        // ,{
        //     type: 106,
        //     iconfont: 'el-icon-hand-dantu',
        //     title: '抽奖专区',
        //     config: {
        //         type: 106,
        //         style: {},
        //         data: {}
        //     }
        // }
        ,{
            type: 10,
            iconfont: 'el-icon-hand-huodongshangpin',
            images: '',
            title: '活动专区',
            config: {
                type: 10,
                style: {},
                data: {}
            }
        },{
            type: 12,
            iconfont: 'el-icon-hand-doufukuai',
            images: '',
            title: '豆腐块',
            config: {
                type: 12,
                style: {},
                data: {}
            }
        }
    ]
}];